package arithmetic;

import java.util.Map;
import java.util.Set;

public class BitwiseArithmetic {

	public static void main(String[] args) {
		// int a = Integer.parseInt("1100",2);
		// System.out.println(Integer.toBinaryString(a));
		// System.out.println(Integer.toBinaryString(~a));
		// System.out.println((a<<1)+ " " +Integer.toBinaryString((a<<1)));
		// System.out.println((a>>2)+ " " +Integer.toBinaryString((a>>2)));
		// System.out.println((a>>>2)+ " " +Integer.toBinaryString((a>>>2)));
		ProcessBuilder pb = new ProcessBuilder("something");
		Map<String, String> env = pb.environment();
		Set<String> keys = env.keySet();
		if (keys != null) {
			for (String key : keys) {
				System.out.println(key + ":" + env.get(key));
			}
		}
	}

}
